﻿<Window x:Class="DbDoc.PowerDoc.Views.SetupSource"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Setup Source Database" Height="200" Width="450" Icon="/PowerDoc;component/dbdoc.ico">
    <Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="125" />
                <ColumnDefinition Width="300" />
                <ColumnDefinition Width="100*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="30" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                
            </Grid.RowDefinitions>
            <TextBlock Text="  Setup PowerDoc" Grid.Column="0" Grid.Row="0" Style="{StaticResource HeaderText2}" Grid.ColumnSpan="3">
            </TextBlock>
            <TextBlock Grid.Row="1">Provider Type</TextBlock>
            <ComboBox Grid.Row="1" Grid.Column="1" ItemsSource="{Binding ProviderType}" SelectedItem="{Binding SelectedProviderType}" />

            <TextBlock Grid.Row="2" >Connection Info</TextBlock>
            <TextBox Grid.Row="2" Grid.Column="1" Text="{Binding ConnectionString}"  />
            <TextBlock Grid.Row="3" >Excluded Databases</TextBlock>
            <TextBox Grid.Row="3" Grid.Column="1" Text="{Binding ExcludedDatabases}" />

            <Button Grid.Row="5" Grid.Column="1" Width="100" HorizontalAlignment="Right" Margin="0,0,10,0" Command="{Binding SaveSettingsCommand}" >Save Settings</Button>
        </Grid>
    </Grid>
</Window>
